package collect.taobao.service.impl;
import collect.taobao.service.ClassificationDirectoryRelationService;
import collect.taobao.bean.ClassificationDirectoryRelationBean;
import collect.taobao.dao.ClassificationDirectoryRelationDao;


import java.util.List;

public class ClassificationDirectoryRelationServiceImpl implements ClassificationDirectoryRelationService{
	
	private ClassificationDirectoryRelationDao classificationDirectoryRelationDao;
	
	public ClassificationDirectoryRelationServiceImpl() {
		super();
	}

	public int delete(ClassificationDirectoryRelationBean classificationDirectoryRelationBean) {
		return classificationDirectoryRelationDao.delete(classificationDirectoryRelationBean);
	}

	public ClassificationDirectoryRelationBean query(String id) {
		return classificationDirectoryRelationDao.query(id);
	}

	public List queryList() {
		return classificationDirectoryRelationDao.queryList();
	}
	
	public List queryListByClassification(String classification)  {
		return classificationDirectoryRelationDao.queryListByClassification(classification);
	}

	public int save(ClassificationDirectoryRelationBean classificationDirectoryRelationBean) {
		return classificationDirectoryRelationDao.save(classificationDirectoryRelationBean);
	}

	public int update(ClassificationDirectoryRelationBean classificationDirectoryRelationBean) {
		return classificationDirectoryRelationDao.update(classificationDirectoryRelationBean);
	}

	public void setClassificationDirectoryRelationDao(ClassificationDirectoryRelationDao classificationDirectoryRelationDao) {
		this.classificationDirectoryRelationDao = classificationDirectoryRelationDao;
	}
	

}
